package level
{
	import org.flixel.*;
	
	import enemy.*;
	import interaction.*;
	import item.*;
	import treasure.*;
	
	/**
	 * ...
	 * @author JAC
	 */
	public class Level_7 extends GameState
	{
		override public function create():void
		{
			super.create();
			
			_maze.load(StaticMaze.level_7);
			
			_player.spawnAt(14, 15);
			
			addItem(new Boulder(13, 9));
			addItem(new Boulder(27, 3));
			addItem(new Boulder(5, 13));
			addItem(new SpeedBoost(15, 9));
			addItem(new SpeedBoost(27, 17));
			
			var t1:Teleporter = new Teleporter(1, 3);
			var t2:Teleporter = new Teleporter(23, 19);
			t1.other = t2;
			t2.other = t1;
			addInteraction(t1);
			addInteraction(t2);
			
			addInteraction(new Trapdoor(7, 11));
			addInteraction(new Trapdoor(21, 11));
			
			addTreasure(new LootBag(1, 13));
			addTreasure(new LootBag(1, 15));
			addTreasure(new LootBag(3, 15));
			
			addTreasure(new LootBag(27, 13));
			addTreasure(new LootBag(27, 15));
			addTreasure(new LootBag(25, 15));
			
			addTreasure(new LootBag(9, 13));
			addTreasure(new LootBag(11, 13));
			addTreasure(new LootBag(11, 15));
			
			addTreasure(new LootBag(19, 13));
			addTreasure(new LootBag(19, 15));
			addTreasure(new LootBag(17, 13));
			
			addEnemy(new Robber(14, 7));
			addEnemy(new Exorcist(0, 1));
			addEnemy(new Exorcist(28, 1));
			
			addEnemy(new Brute(12, 0));
			addEnemy(new Brute(16, 0));
			
			LoggerWrapper.logLevelStart(11, "Level_7");
		}
	}
}